package java8.timeutil;

import java.time.MonthDay;

/**
 * @author Cheng Jun
 * @version 1.0
 * Description:
 * @date 2019/8/11 20:36
 */
public class MonthDayStudy {

    public static void main(String[] args) {
        //获取当前月日的日期
        MonthDay monthDay = MonthDay.now();

        //新加坡国庆节
        MonthDay singaporeNationalDay = MonthDay.of(8, 9);

        //判断今天是不是新加坡国庆节
        boolean isSingaporeNationalDay = monthDay.equals(singaporeNationalDay);
    }
}
